#include "ConfigManager.h"

namespace PeanutQuest {

	ConfigManager::ConfigManager(std::string id) : cg::Entity(id) {

		//enemies
		sugar1 = cg::Properties::instance()->getVector3f("SUGAR_ENEMY_1");
		sugar2 = cg::Properties::instance()->getVector3f("SUGAR_ENEMY_2");

		oil1 = cg::Properties::instance()->getVector3f("OIL_ENEMY_1");
		oil2 = cg::Properties::instance()->getVector3f("OIL_ENEMY_2");
		oil3 = cg::Properties::instance()->getVector3f("OIL_ENEMY_3");	

		//collectables - normal
		wood1 = cg::Properties::instance()->getVector3f("WOOD_1");
		wood2 = cg::Properties::instance()->getVector3f("WOOD_2");
		wood3 = cg::Properties::instance()->getVector3f("WOOD_3");
		wood1 = cg::Properties::instance()->getVector3f("WOOD_4");
		wood2 = cg::Properties::instance()->getVector3f("WOOD_5");
		wood3 = cg::Properties::instance()->getVector3f("WOOD_6");

		rock1 = cg::Properties::instance()->getVector3f("ROCK_1");
		rock2 = cg::Properties::instance()->getVector3f("ROCK_2");
		rock3 = cg::Properties::instance()->getVector3f("ROCK_3");
		rock4 = cg::Properties::instance()->getVector3f("ROCK_4");
		
		//collectables - special
		specialSugar = cg::Properties::instance()->getVector3f("SUGAR_SPECIAL");
		specialOil = cg::Properties::instance()->getVector3f("OIL_SPECIAL");
	
		//environment - tree
		tree1 = cg::Properties::instance()->getVector3f("TREE_1");
		tree2 = cg::Properties::instance()->getVector3f("TREE_2");
		tree3 = cg::Properties::instance()->getVector3f("TREE_3");
		tree4 = cg::Properties::instance()->getVector3f("TREE_4");
		tree5 = cg::Properties::instance()->getVector3f("TREE_5");
		tree6 = cg::Properties::instance()->getVector3f("TREE_6");
		tree6 = cg::Properties::instance()->getVector3f("TREE_7");
		tree6 = cg::Properties::instance()->getVector3f("TREE_8");
		tree6 = cg::Properties::instance()->getVector3f("TREE_9");
		tree6 = cg::Properties::instance()->getVector3f("TREE_10");
	
	}
	ConfigManager::~ConfigManager() {
	}

	void ConfigManager::init() {
	}

} 